package com.wenwen.entity;

import com.baomidou.mybatisplus.annotation.TableName;

@TableName("demo1")
public class Demo {
    private Integer id;
    private String str;


    public Demo() {
    }

    public Demo(Integer id, String str) {
        this.id = id;
        this.str = str;
    }

    /**
     * 获取
     *
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     *
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     *
     * @return str
     */
    public String getStr() {
        return str;
    }

    /**
     * 设置
     *
     * @param str
     */
    public void setStr(String str) {
        this.str = str;
    }

    public String toString() {
        return "Demo{id = " + id + ", str = " + str + "}";
    }
}
